Optimal. Leaf size=90 \[ \frac {a^2 x (a+b x)^{n+1}}{b^3 (n+1) \sqrt {c x^2}}-\frac {2 a x (a+b x)^{n+2}}{b^3 (n+2) \sqrt {c x^2}}+\frac {x (a+b x)^{n+3}}{b^3 (n+3) \sqrt {c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {15, 43} \[ \frac {a^2 x (a+b x)^{n+1}}{b^3 (n+1) \sqrt {c x^2}}-\frac {2 a x (a+b x)^{n+2}}{b^3 (n+2) \sqrt {c x^2}}+\frac {x (a+b x)^{n+3}}{b^3 (n+3) \sqrt {c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 43
Rubi steps
\begin {align*} \int \frac {x^3 (a+b x)^n}{\sqrt {c x^2}} \, dx &=\frac {x \int x^2 (a+b x)^n \, dx}{\sqrt {c x^2}}\\ &=\frac {x \int \left (\frac {a^2 (a+b x)^n}{b^2}-\frac {2 a (a+b x)^{1+n}}{b^2}+\frac {(a+b x)^{2+n}}{b^2}\right ) \, dx}{\sqrt {c x^2}}\\ &=\frac {a^2 x (a+b x)^{1+n}}{b^3 (1+n) \sqrt {c x^2}}-\frac {2 a x (a+b x)^{2+n}}{b^3 (2+n) \sqrt {c x^2}}+\frac {x (a+b x)^{3+n}}{b^3 (3+n) \sqrt {c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 67, normalized size = 0.74 \[ \frac {x (a+b x)^{n+1} \left (2 a^2-2 a b (n+1) x+b^2 \left (n^2+3 n+2\right ) x^2\right )}{b^3 (n+1) (n+2) (n+3) \sqrt {c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 110, normalized size = 1.22 \[ -\frac {{\left (2 \, a^{2} b n x - {\left (b^{3} n^{2} + 3 \, b^{3} n + 2 \, b^{3}\right )} x^{3} - 2 \, a^{3} - {\left (a b^{2} n^{2} + a b^{2} n\right )} x^{2}\right )} \sqrt {c x^{2}} {\left (b x + a\right )}^{n}}{{\left (b^{3} c n^{3} + 6 \, b^{3} c n^{2} + 11 \, b^{3} c n + 6 \, b^{3} c\right )} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{n} x^{3}}{\sqrt {c x^{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 81, normalized size = 0.90 \[ \frac {\left (b^{2} n^{2} x^{2}+3 b^{2} n \,x^{2}-2 a b n x +2 b^{2} x^{2}-2 a b x +2 a^{2}\right ) x \left (b x +a \right )^{n +1}}{\sqrt {c \,x^{2}}\, \left (n^{3}+6 n^{2}+11 n +6\right ) b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.46, size = 83, normalized size = 0.92 \[ \frac {{\left ({\left (n^{2} + 3 \, n + 2\right )} b^{3} \sqrt {c} x^{3} + {\left (n^{2} + n\right )} a b^{2} \sqrt {c} x^{2} - 2 \, a^{2} b \sqrt {c} n x + 2 \, a^{3} \sqrt {c}\right )} {\left (b x + a\right )}^{n}}{{\left (n^{3} + 6 \, n^{2} + 11 \, n + 6\right )} b^{3} c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.29, size = 121, normalized size = 1.34 \[ \frac {{\left (a+b\,x\right )}^n\,\left (\frac {x^4\,\left (n^2+3\,n+2\right )}{n^3+6\,n^2+11\,n+6}+\frac {2\,a^3\,x}{b^3\,\left (n^3+6\,n^2+11\,n+6\right )}-\frac {2\,a^2\,n\,x^2}{b^2\,\left (n^3+6\,n^2+11\,n+6\right )}+\frac {a\,n\,x^3\,\left (n+1\right )}{b\,\left (n^3+6\,n^2+11\,n+6\right )}\right )}{\sqrt {c\,x^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \begin {cases} \frac {a^{n} x^{4}}{3 \sqrt {c} \sqrt {x^{2}}} & \text {for}\: b = 0 \\\int \frac {x^{3}}{\sqrt {c x^{2}} \left (a + b x\right )^{3}}\, dx & \text {for}\: n = -3 \\\int \frac {x^{3}}{\sqrt {c x^{2}} \left (a + b x\right )^{2}}\, dx & \text {for}\: n = -2 \\\int \frac {x^{3}}{\sqrt {c x^{2}} \left (a + b x\right )}\, dx & \text {for}\: n = -1 \\\frac {2 a^{3} x \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} - \frac {2 a^{2} b n x^{2} \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} + \frac {a b^{2} n^{2} x^{3} \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} + \frac {a b^{2} n x^{3} \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} + \frac {b^{3} n^{2} x^{4} \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} + \frac {3 b^{3} n x^{4} \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} + \frac {2 b^{3} x^{4} \left (a + b x\right )^{n}}{b^{3} \sqrt {c} n^{3} \sqrt {x^{2}} + 6 b^{3} \sqrt {c} n^{2} \sqrt {x^{2}} + 11 b^{3} \sqrt {c} n \sqrt {x^{2}} + 6 b^{3} \sqrt {c} \sqrt {x^{2}}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________